package structural.proxy;

public record RealEbook(String fileName) implements IEbook {
    public RealEbook(String fileName) {
        this.fileName = fileName;
        load();
    }

    private void load() {
        System.out.println("Loading " + fileName);
    }

    @Override
    public void show() {
        System.out.println("Showing " + fileName);
    }
}
